Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | import _ from 'underscore'; |
||
13 | var Command = function (evt) { |
||
14 | _.extend(this, { |
||
15 | altKey: !!evt.altKey, |
||
16 | "char": evt["char"], |
||
17 | charCode: evt.charCode, |
||
18 | ctrlKey: !!evt.ctrlKey, |
||
19 | key: evt.key, |
||
20 | keyCode: evt.keyCode, |
||
21 | locale: evt.locale, |
||
22 | location: evt.location, |
||
23 | metaKey: !!evt.metaKey, |
||
24 | repeat: !!evt.repeat, |
||
25 | shiftKey: !!evt.shiftKey, |
||
26 | which: evt.which |
||
27 | }); |
||
28 | }; |
||
29 | |||
93 |